﻿using Ext.Net.MVC;
using Sharp.Portal;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using Ext.Net;
using Sharp.Portal.ExtNet;
using Sharp.Portal.Mvc.Form;

namespace Sharp.WebBooter.Areas.Workflow.Models
{
    [ItemPage(Width = 1000, OpenWith = OpenWith.Window)]
    public class ProcessModel : ISharpForm
    {
        public ProcessModel()
        {
            UI = new ExtSharpFrom(this);
        }
        public SharpFrom UI { get; set; }
        [HiddenInput]
        public int Id { get; set; }

        [Display(Name = "流程编号")]
        public string ProcessGUID { get; set; }

        [Display(Name = "流程名称")]
        public string ProcessName { get; set; }

        [Display(Name = "版本标识")]
        public string Version { get; set; }

        [Display(Name = "使用状态")]
        public bool IsUsing { get; set; }

        [Display(Name = "描述"),DataType( DataType.MultilineText)]
        public string Description { get; set; }
    }
}